package java_1_24.stack_queue.queue;

import java_1_24.stack_queue.queue.impl.MyQueue;

public class QueueTest {
    public static void main(String[] args) {
        Queue<Integer> queue=new MyQueue<>();
        queue.offer(1);
        queue.offer(3);
        queue.offer(5);
        System.out.println(queue.toString());
        while (!queue.isEmpty()){
            System.out.println(queue.poll());
        }
    }
}
